<?php

use Yaf\Exception;

/**
 * BadRequestException 客户端非法请求
 * Class BadRequestException
 */
class BadRequestException extends Exception
{
    public function __construct($message = "", $code = 0, Throwable $previous = null)
    {
        parent::__construct($message, 400 + $code, $previous);
    }
}
